package com.senthink.gl.business.auth;

import com.google.common.collect.Lists;

import java.util.List;

/**
 * 设备权限定义
 *
 * @author zooqi@senthink.com
 * @date 2018/03/02
 */
public interface DeviceAuthority {

    /**
     * 路灯权限
     */
    String LAMP = "people";

    /**
     * 充电桩权限
     */
    String CHARGE = "charge";

    /**
     * 除霾器权限
     */
    String CLEANER = "cleaner";

    /**
     * 广告屏权限
     */
    String SCREEN = "screen";

    /**
     * 摄像头权限
     */
    String CAMERA = "camera";

    /**
     * 传感器权限
     */
    String SENSOR = "sensor";

    /**
     * 地磁权限
     */
    String DC = "dc";

    /**
     * 报警器权限
     */
    String ALTEROR = "alertor";

    /**
     * 设备权限列表
     */
    List<String> AUTHORITY_CACHE = Lists.newArrayList(
            DeviceAuthority.LAMP, DeviceAuthority.CHARGE,
            DeviceAuthority.CLEANER, DeviceAuthority.SCREEN,
            DeviceAuthority.CAMERA, DeviceAuthority.SENSOR,
            DeviceAuthority.DC, DeviceAuthority.ALTEROR);
}
